import express from 'express'
import cors from "cors";
import v1 from "./music/6uqCN/index.js";

let app = express()
app.use(express.json());/*JSON 格式数据*/
app.use(express.urlencoded({extended: true})); /*处理 URL 编码*/
app.use(cors()); /*跨域资源共享（CORS）中间件*/

app.use("/", v1)

app.listen(8080, () => {
    console.log('服务已启动')
})